﻿using System;
using System.Collections.Generic;
using System.Text;

using System.Data;

namespace DBWorker
{
    public interface IDBWorkerBase
    {

        DataTable GetDataTableByCommand(IDbCommand command);

        DataRow GetDataRowByCommand(IDbCommand command);

        object GetObjectByCommand(IDbCommand command);

        DataTable GetDataTableSchema(IDbCommand command);

        object ExecuteScalar(IDbCommand command);

    }
}
